package org.medicalinstrument.dao;

import org.medicalinstrument.bean.RentOrderMaster;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface RentOrderDao {
    //添加租物车订单
    Boolean add(Connection conn, RentOrderMaster order) throws Exception;
    //删除租物车订单
    Boolean delete(String rentOrderId) throws Exception;
    //获取所有的租物订单
    List<RentOrderMaster> getAll() throws SQLException;

}
